# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=semodule-utils
pkgver=3.6
pkgrel=0
pkgdesc="SELinux semodule utilities"
url="https://github.com/SELinuxProject/"
arch="all"
license="GPL-2.0-only"
makedepends="libsepol-dev"
options="!check" # No test suite
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/SELinuxProject/selinux/releases/download/$pkgver/semodule-utils-$pkgver.tar.gz"

build() {
	make
}

package() {
	make install DESTDIR="$pkgdir"
}

sha512sums="
16b58bbafcaef9a2e8e34a20d0e1e4024a9044024de8fa3137c5ba1b9af600afac51c15ccb648dd6bff77747c047f4c9feafeea07c19b1eb14955acc92697a48  semodule-utils-3.6.tar.gz
"
